import './style/amtf.scss'
import 'element-plus/theme-chalk/dark/css-vars.css'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
// import { useElementPlus } from "@/plugins/elementPlus";

import 'element-plus/dist/index.css'
// 引入封装的router
import router from '@/router/index'
import '@/permission'
import auth from '@/directive/auth'
import { store } from '@/stores'
import App from './App.vue'
// 消除警告
import 'default-passive-events'

// import Table from "@pureadmin/table";
// import { useVxeTable } from "@/plugins/vxeTable";

import install from '@/amtf/install';

const app = createApp(App)
app.config.productionTip = false

app
  .use(install,"其他参数")
  .use(ElementPlus)
  // .use(useElementPlus)
  // .use(Table)

  .use(store)
  .use(auth)
  .use(router)
  .mount('#app')
export default app
